package com.trace.app.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.trace.app.entity.Cart;
import com.trace.app.entity.ResponseResult;


/**
 * (Cart)表服务接口
 *
 * @author lionkliu
 * @since 2024-04-02 12:36:42
 */
public interface CartService extends IService<Cart> {
    ResponseResult selectPage(Integer pageNum, Integer pageSize);

    ResponseResult selectOne(Integer id);

    ResponseResult insertOne(Cart cart);

    ResponseResult deleteById(Integer id);

    ResponseResult updateOne(Cart cart);

    ResponseResult getByUserId(Integer id);
}

